from django.shortcuts import render
from django.http.response import HttpResponse


# Create your views here.
# 127.0.0.1:8000/users/index/?a=10&b=20    问好后面的叫查询字符串
def index(request):
    """
    测试视图和路由的匹配
    :param request: HttpRequest类型对象,表示请求报文信息
    :return: response HttpResponse类型的对象,表示响应报文信息
    """
    return HttpResponse("hello word")
